package edu.hitsz.prop;
import edu.hitsz.aircraft.HeroAircraft;
import edu.hitsz.application.Explode;

import java.util.List;

/**
 * 火力道具
 */
public class BulletProp extends AbstractProp{

    public BulletProp(int locationX, int locationY, int speedX, int speedY) {
        super(locationX, locationY, speedX, speedY);
    }

    @Override
    public void effect(HeroAircraft heroAircraft,List<Explode> explodes) throws InterruptedException {
        System.out.println("BulletSupply active!!");
        heroAircraft.changeshoot();
    }
}
